package myContacts;

import java.io.Serializable;

public class PhoneNumber implements Serializable, Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String phoneNumber;
	private String uri;
	private String label;
	private boolean primary;
	private String rel;
	
	public PhoneNumber() {
		super();
		phoneNumber = "";
		uri = "";
		label= "";
		primary = false;
		rel = "";
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public boolean isPrimary() {
		return primary;
	}

	public void setPrimary(boolean primary) {
		this.primary = primary;
	}

	public String getRel() {
		return rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	@Override
	protected PhoneNumber clone() {
		// TODO Auto-generated method stub
		PhoneNumber phone_Number = new PhoneNumber();
		
		phone_Number.phoneNumber = phoneNumber;
		phone_Number.uri = uri;
		phone_Number.label= label;
		phone_Number.primary = primary;
		phone_Number.rel = rel;
		
		return phone_Number;
	}
	
}
